﻿CREATE TABLE [dbo].[BatchExpressWaybillUseInfo] (
    [BatchID]    BIGINT       NOT NULL,
    [UseCount]   INT          NULL,
    [TotalCount] INT          NOT NULL,
    [UpdateTime] DATETIME     NOT NULL,
    [OrderID]    VARCHAR (32) NOT NULL,
    CONSTRAINT [PK_BATCHEXPRESSWAYBILLUSEINFO] PRIMARY KEY CLUSTERED ([BatchID] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'订单标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillUseInfo', @level2type = N'COLUMN', @level2name = N'OrderID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'更新时间', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillUseInfo', @level2type = N'COLUMN', @level2name = N'UpdateTime';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'总数量', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillUseInfo', @level2type = N'COLUMN', @level2name = N'TotalCount';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'使用数量', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillUseInfo', @level2type = N'COLUMN', @level2name = N'UseCount';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'批量标识。表BatchExpressWaybillInfo.BatchID', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillUseInfo', @level2type = N'COLUMN', @level2name = N'BatchID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'批量快递单号使用信息', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillUseInfo';

